<template>
  <div id="app">
    <header>
      <div>
        <img src="../../../assets/images/ticket.png" alt="">
      </div>
      <p>暂无可用优惠券~</p>
    </header>
  </div>
</template>

<script>
  export default {
    name: "ticket",
    beforeCreate() {
      document.querySelector('body').setAttribute('style', 'background-color:#f3f3f3')
    },
    beforeDestroy() {
      document.querySelector('body').removeAttribute('style')
    }
  }
</script>

<style lang="less" scoped>
  #app {
    header {
      div {
        width: 6rem;
        height: 5.99rem;
        margin: 1.5rem auto 0;
      }
      p {
        color: #9f9f9f;
        text-align: center;
        font-size: 0.512rem;
      }
    }
  }
</style>
